<?php
namespace app\home\controller;

use app\home\model\ArticleCate;
class Index  extends  Base
{
    //首页
    public function index()
    {
        $ArticleCate = new ArticleCate;
        $xf_list = $ArticleCate->_list(2,8);
        $this->assign('_xf_list',$xf_list);
        return $this->fetch();
    }
    //列表
    public function lists()
    {
        $article_cate_id = $this->request->param('article_cate_id');
        $ArticleCate = new ArticleCate;
        $_list = $ArticleCate->_list($article_cate_id,4);
        $this->assign('_list',$_list);
        return $this->fetch();
    }
    //详情
    public function article(){
        return $this->fetch();
    }
    //登录
    public  function login(){
        return $this->fetch();
    }
    //注册
    public  function register(){
        return $this->fetch();
    }






}
